package com.minio.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * ComfyUI 配置属性类
 */
@Component
@ConfigurationProperties(prefix = "comfyui")
public class ComfyUIProperties {
    
    /**
     * ComfyUI 服务基础URL
     */
//    private String baseUrl = "http://comfyuisang2.natapp1.cc";
    private String baseUrl = "http://comfyuisang.natapp1.cc";
    
    /**
     * 请求超时时间（秒）
     */
    private int timeout = 120;
    
    public String getBaseUrl() {
        return baseUrl;
    }
    
    public void setBaseUrl(String baseUrl) {
        this.baseUrl = baseUrl;
    }
    
    public int getTimeout() {
        return timeout;
    }
    
    public void setTimeout(int timeout) {
        this.timeout = timeout;
    }
}

